﻿<%@ Page Title="LIMS | Book Check-Out" Language="C#" MasterPageFile="~/LMIS_Master.Master" AutoEventWireup="true" CodeBehind="BookCheckout.aspx.cs" Inherits="LMIS_Application.books.BookCheckout" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent1" runat="server">
    <h2>Book Check-Out</h2>
    <p>
        <label>Member:</label><br />
        <asp:DropDownList ID="ddl_CO_Member" runat="server" 
            onselectedindexchanged="ddl_CO_Member_SelectedIndexChanged"></asp:DropDownList>
            <asp:RequiredFieldValidator ID="Validator1" ValidationGroup="vg_BCO" ControlToValidate="ddl_CO_Member" runat="server" SetFocusOnError="true" ErrorMessage="*"></asp:RequiredFieldValidator>
    </p>
    <p>
        <label>Book:</label><br />
        <asp:DropDownList ID="ddl_CO_Book" runat="server" 
            onselectedindexchanged="ddl_CO_Book_SelectedIndexChanged"></asp:DropDownList>
            <asp:RequiredFieldValidator ID="Validator2" ValidationGroup="vg_BCO" ControlToValidate="ddl_CO_Book" runat="server" SetFocusOnError="true" ErrorMessage="*"></asp:RequiredFieldValidator>
    </p>
    <p>
        <label>Due Date:</label><br />
        <asp:Calendar ID="cal_CO_DueDate" runat="server" 
            onselectionchanged="cal_CO_DueDate_SelectionChanged"></asp:Calendar>
    </p>
    <p>
        <asp:Button ID="btnBookCheckout" Text="Check Out" runat="server" 
            onclick="btnBookCheckout_Click" CausesValidation="true" ValidationGroup="vg_BCO" />
    </p>
    <p id="msgSuccess" runat="server"></p>     
</asp:Content>
